package com.universalInterface.lims_interface.vo.labinfo;

import com.universalInterface.lims_interface.common.enums.LabTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @author Lx
 * @date 2023/12/20 9:08
 * @description 实验室新增对象
 */
@Data
@Schema(name = "LabInfoUpdateVo", description = "实验室更新对象")
public class LabInfoUpdateVo implements Serializable {

	private static final long serialVersionUID = 4868983611124158168L;

	@NotNull(message = "主键id不能为null")
	@Schema(name = "id", description = "主键id")
	private Long id;

	@Schema(name = "labGuid", description = "实验室id")
	private Long labGuid;

	@Schema(name = "labType", description = "实验室类型。HC：焓差；CY：长运；ZY：噪音；SNL：水能力；RB：热泵；GDW：高低温；GLC：高落差；JZLY：集中冷源")
	private LabTypeEnum labType;

	@Size(max = 255)
	@Schema(name = "labName", description = "实验室名称")
	private String labName;

	@Schema(name = "chNum", description = "实验室通道数量")
	private Integer chNum;

}
